Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

158
Views
Se accedió a la propiedad "prueba" durante el procesamiento pero no está definida en la instancia + las declaraciones solo pueden aparecer en el nivel superior de un módulo

Estoy trabajando en un pequeño proyecto usando Vue.js 3 y Laravel , tengo un problema en la consola de mi navegador, no sé por qué:

Este es mi código:

 <form action="{{ route("newPost") }}" method="post" id="new-post"> @csrf <div class="card-body"> <div class="form-group"> <label for="exampleInputEmail1">Title</label> <input type="text" name="post_title" class="form-control" placeholder="Post title"> </div> <div class="form-group"> <label>Content</label> <quill-editor v-model="test" /> </div> </div> <!-- /.card-body --> <div class="card-footer"> <button type="submit" class="btn btn-primary">Submit</button> </div> </form>

Esta es mi parte JS:

 @push("scripts") <script> export default { setup() { test: '' } } </script> @endpush

El mensaje de error contiene:

 [Vue warn]: Property "test" was accessed during render but is not defined on instance. at <App>

Segundo

 Uncaught SyntaxError: export declarations may only appear at top level of a module
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!